<template>
  <div class="farm-card">
    <div class="item">
      <div class="icon">
        <div class="g-skeleton circle"></div>
        <div class="g-skeleton circle"></div>
      </div>
      <div class="rt">
        <div class="token">
          <div class="g-skeleton min"></div>
        </div>
        <div class="tag">
          <div class="g-skeleton min"></div>
        </div>
      </div>
    </div>
    <div class="item">
      <div class="g-skeleton"></div>
    </div>
    <div class="item">
      <div class="g-skeleton"></div>
    </div>
    <div class="item">
      <div class="g-skeleton"></div>
    </div>
    <div class="item">
      <div class="g-skeleton"></div>
    </div>
    <div class="info">
      <div class="sub">
        <div class="g-skeleton"></div>
      </div>
    </div>
  </div>
</template>

<style lang="scss" scoped>
.farm-card {
  background-color: var(--card);
  padding: 30px;
  border-radius: 30px;
}

.item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 15px;

  &:last-child {
    margin-bottom: 0;
  }

  .icon {
    position: relative;
    div {
      &:first-child {
        width: 32px;
        height: 32px;
      }

      &:last-child {
        width: 40px;
        height: 40px;
        position: absolute;
        left: 20px;
        top: 3px;
        z-index: 1;
      }
    }
  }

  .rt {
    display: flex;
    flex-direction: column;
    align-items: flex-end;

    .token {
      margin-bottom: 6px;
    }

    .g-skeleton {
      height: 20px;
      width: 100px;
      border-radius: 2px;
    }
  }

  .g-skeleton {
    height: 56px;
  }
}

.info {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin: 25px -30px 0;
  padding: 20px 30px 0;

  .sub {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-top: 10px;
  }

  .g-skeleton {
    height: 56px;
  }
}
</style>
